﻿<%@ Page Language="C#" MasterPageFile="~/Template.master" AutoEventWireup="true"
    CodeFile="Login.aspx.cs" Inherits="Login" Culture="auto" meta:resourcekey="LoginPage"
    UICulture="auto" %>

<asp:Content ID="LoginContent" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <div class="item">
        <asp:Login ID="LoginBox" runat="server" meta:resourcekey="LoginBoxResource" CreateUserUrl="CreateAccount.aspx"
            PasswordRecoveryUrl="PasswordRecovery.aspx" CssClass="LoginBox">
            <LayoutTemplate>
                <h5 style="text-align: left">
                    <asp:Label runat="server" meta:resourcekey="LoginTitleLabel" /></h5>
                <div class="body">
                    <p>
                        <asp:Label runat="server" meta:resourcekey="LoginDescription" /></p>
                    <table>
                        <tbody>
                            <tr>
                                <th>
                                    <asp:Label ID="UserNameLabel" meta:resourcekey="UserNameLabel" runat="server" AssociatedControlID="UserName" />
                                </th>
                                <td>
                                    <asp:TextBox ID="UserName" runat="server"></asp:TextBox>
                                    <asp:RequiredFieldValidator ID="UserNameRequired" runat="server" ControlToValidate="UserName"
                                        ErrorMessage="User Name is required." ToolTip="User Name is required." ValidationGroup="LoginBox">*</asp:RequiredFieldValidator>
                                </td>
                            </tr>
                            <tr>
                                <th>
                                    <asp:Label ID="PasswordLabel" meta:resourcekey="PasswordLabel" runat="server" AssociatedControlID="Password" />
                                </th>
                                <td>
                                    <asp:TextBox ID="Password" runat="server" TextMode="Password"></asp:TextBox>
                                    <asp:RequiredFieldValidator ID="PasswordRequired" runat="server" ControlToValidate="Password"
                                        ErrorMessage="Password is required." ToolTip="Password is required." ValidationGroup="LoginBox">*</asp:RequiredFieldValidator>
                                </td>
                            </tr>
                        </tbody>
                        <tfoot>
                            <tr>
                                <td>
                                </td>
                                <td>
                                    <asp:Button ID="LoginButton" runat="server" meta:resourcekey="LoginButton" CommandName="Login"
                                        ValidationGroup="LoginBox" />
                                </td>
                            </tr>
                        </tfoot>
                    </table>
                    <p>
                        <asp:CheckBox ID="RememberMe" meta:resourcekey="RememberMe" runat="server" /><br />
                        <a href="createaccount.aspx">
                            <asp:Literal runat="server" ID="NewAccountLink" meta:resourcekey="NewAccountLink" /></a><br />
                        <asp:Literal ID="FailureText" runat="server" EnableViewState="False"></asp:Literal>
                    </p>
                </div>
            </LayoutTemplate>
        </asp:Login>
    </div>
</asp:Content>
